package mylibrary.thread.produce_consume;

public class Test {

	public static void main(String[] args) throws InterruptedException {
		
		Plate plate = new Plate();
		
		Thread add = new Thread(new AddEgg(plate));
		Thread get = new Thread(new GetEgg(plate));
		
		
		get.start();
		add.start();
		
		//get.join();
		//add.join();
	}
}
